package com.shenmazong.demo1907amongo.service;

import com.shenmazong.demo1907amongo.pojo.TbUser;
import com.shenmazong.demo1907amongo.utils.ResultResponse;

public interface ITbUserService {

    ResultResponse add(TbUser tbUser);

    ResultResponse getList(Integer pageSize, Integer pageNum);

    ResultResponse getListByPage(Integer pageSize, Integer pageNum);

    ResultResponse getListByPageVo(Integer pageSize, Integer pageNum);

    ResultResponse login(String username, String password);
}
